﻿
using System;
using System.Data;
using System.Data.SqlClient;
namespace Model
{
	
	/// <summary>	 
	/// 信息反馈回复
	/// </summary>
	public class DbReplyBook
	{ 
		#region DbReplyBook
		/// <summary>
		/// 
		/// </summary>
		public DbReplyBook()
		{
		}
		/// <summary>	 
		/// 
		/// </summary>
		public DbReplyBook(Int32 rId)
		{
			this.rId = rId;
		
		}
		/// <summary>	 
		/// 
		/// </summary>		
		public DbReplyBook(DataRow dr)
		{
			int.TryParse(Convert.ToString(dr["rId"]),out rId);
			this.rNotes = Convert.ToString(dr["rNotes"]);
			if(dr["rDatetime"] != DBNull.Value)
				this.rDatetime = Convert.ToDateTime(dr["rDatetime"]);
			int.TryParse(Convert.ToString(dr["rMid"]),out rMid);
			this.rUserName = Convert.ToString(dr["rUserName"]);
			int.TryParse(Convert.ToString(dr["rFeedId"]),out rFeedId);
			
		}
		#endregion
		
		
		#region RId
		private Int32 rId;
		/// <summary>	 
		/// 
		/// AutoInc
		/// PK
		/// </summary>
		public Int32 RId
		{
			get{ return rId; }
			set{ rId= value; }
		}
		#endregion
		
		#region RNotes
		private System.String rNotes;
		/// <summary>	 
		/// 回复内容
		/// </summary>
		public System.String RNotes
		{
			get{ return rNotes; }
			set{ rNotes= value; }
		}
		#endregion
		
		#region RDatetime
		private DateTime rDatetime;
		/// <summary>	 
		/// 回复时间
		/// </summary>
		public DateTime RDatetime
		{
			get{ return rDatetime; }
			set{ rDatetime= value; }
		}
		#endregion
		
		#region RMid
		private Int32 rMid;
		/// <summary>	 
		/// 回复用户Id
		/// </summary>
		public Int32 RMid
		{
			get{ return rMid; }
			set{ rMid= value; }
		}
		#endregion
		
		#region RUserName
		private System.String rUserName;
		/// <summary>	 
		/// 回复用户名
		/// </summary>
		public System.String RUserName
		{
			get{ return rUserName; }
			set{ rUserName= value; }
		}
		#endregion
		
		#region RFeedId
		private Int32 rFeedId;
		/// <summary>	 
		/// 留言Id
		/// </summary>
		public Int32 RFeedId
		{
			get{ return rFeedId; }
			set{ rFeedId= value; }
		}
		#endregion

	}
}
